package com.dinggou.service;

import com.dinggou.entity.Admin;
import com.dinggou.entity.Department;

import java.util.List;

public interface DepartmentService {
    int deleteByPrimaryKey(Integer id);

    int insert(Department record);

    int insertSelective(Department record);

    Department selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Department record);

    int updateByPrimaryKey(Department record);


    List<Department> selectAll(); //查询所有管理员的信息
}